import static org.junit.Assert.*;

import org.junit.Test;


public class MainTest {
	@Test
	public void test_berkin_isPerfect(){
		assertEquals("28 is a perfect number",true,Main.berkin_isPerfect(28));
		assertEquals("13 is not a perfect number",false,Main.berkin_isPerfect(13));
	}
	@Test
	public void test_alican_isSquare(){
		assertEquals("9 is a perfect square",true,Main.alican_isSquare(9));
		assertEquals("11 is not a perfect square",false,Main.alican_isSquare(11));
	}
	@Test
	public void test_ecr_isPrime(){
		assertEquals("17 is a prime number",true,Main.ecr_isPrime(17));
		assertEquals("15 is not a prime number",false,Main.alican_isSquare(15));
	}
	@Test
	public void test_behcet_isPallindrome(){
		assertEquals("9876789 is a pallindrome number",true,Main.behcet_isPallindrome(9876789));
		assertEquals("53114 is not a pallindrome number",false,Main.behcet_isPallindrome(53114));
	}
	@Test
	public void test_mert_isEven(){
		assertEquals("3994 is an even number",true,Main.mert_isEven(3994));
		assertEquals("4093 is not an even number",false,Main.mert_isEven(4093));

	}
	@Test
	public void test_yas_isNarcissistic(){
		assertEquals("370 is a narcissistic number",true,Main.yas_isNarcissistic(370));
		assertEquals("250 is not a narcissistic number",false,Main.yas_isNarcissistic(250));
	}
	@Test
	public void test_aydan_isOdd(){
		assertEquals("3993 is an odd number",true,Main.aydan_isOdd(3993));
		assertEquals("33848 is not an odd number",false,Main.aydan_isOdd(33848));
	}
}
